package com.itheima.consumer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author 余智辉
 * @since 2024-06-15
 */
@TableName("system_user")
//@ApiModel(value = "User对象", description = "用户表")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    //@ApiModelProperty("主键id")
    private Integer id;

    //@ApiModelProperty("姓名")
    private String name;

    //@ApiModelProperty("地址")
    private String address;

    //@ApiModelProperty("电话")
    private Long phone;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
            "id = " + id +
            ", name = " + name +
            ", address = " + address +
            ", phone = " + phone +
        "}";
    }
}
